<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

<script>

    var x2 = 0xAF;

    console.log(x2); //A


    var x3 = Math.floor((0.3 - 0.2) * 100); //math.floor()向下取整

    console.log(x3);//B


    var x4 = 2e9000;

    console.log(x4);//C


    var x5 = -2e9000;//-2e9000

    console.log(x5);//D


    var result = x4 + x5;//

    console.log(result);//E


    console.log(!"hello");//F ！为取反


    var x7 = Boolean(999);//Boolean（）将数字转换为布尔值 999的布尔值为true

    console.log(x7);//G


    var x8 = Boolean(2);//0的布尔值为false

    console.log(x8);//H


    var x9 = Boolean(0);//null的布尔值为false

    console.log(x9);//I


    var x10 = Boolean(undefined);//undefined的布尔值为false

    console.log(+x10);//J

</script>
</body>
</html>